package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.ppl.PplUserData;
import com.yanqu.road.entity.activity.qqprivilege.QQPrivilegeUserData;
import com.yanqu.road.logic.bussiness.DaoHelper;
public class QQPrivilegeBussiness {

    public static QQPrivilegeUserData getQQPrivilegeUserData(long userId, int activityId) {
        return DaoHelper.getQQPrivilegeUserDataDaoImpl().getQQPrivilegeUserData(activityId, userId);
    }

    public static boolean addQQPrivilegeUserData(QQPrivilegeUserData data) {
        return DaoHelper.getQQPrivilegeUserDataDaoImpl().add(data);
    }

    public static boolean updateQQPrivilegeUserData(QQPrivilegeUserData data) {
        return DaoHelper.getQQPrivilegeUserDataDaoImpl().update(data);
    }

}
